package com.smile.weather2.db.api;

import com.smile.weather2.model.CityInfo;
import com.smile.weather2.model.CityInfo.CityInfoBean;

/**
 *
 * 城市信息数据库操作接口
 *
 * Created by smile on 2016/8/24.
 */
public interface CityDaoApi {

    /**
     * 插入城市信息
     * @param cityInfoBean
     */
    void insertCity(CityInfoBean cityInfoBean);

    /**
     * 根据城市名称获取城市信息(模糊查询)
     * @param cityName
     * @return
     */
    CityInfo getCityInfo(String cityName);

}
